{% extends "base.html" %} {% block title %}Payment flow log - Quick Care Connect{% endblock %} {% block content %}
| Appt | Patient | Doctor | Amount | Booked | Approved | Payment status | Paid at | Completed | Doctor credited |
|---|---|---|---|---|---|---|---|---|---|
| #{{ a.id }} | {{ a.patient.user.name if a.patient and a.patient.user else '-' }} | {{ a.doctor.user.name if a.doctor and a.doctor.user else '-' }} | PKR {{ "%.0f"|format(a.charges) }} | {{ a.created_at.strftime('%d %b %Y %H:%M') if a.created_at else '-' }} | {{ a.approved_at.strftime('%d %b %Y %H:%M') if a.approved_at else '-' }} | {{ a.payment_status }} | {{ a.payment_approved_at.strftime('%d %b %Y %H:%M') if a.payment_approved_at else (a.payment_submitted_at.strftime('%d %b %Y %H:%M') if a.payment_submitted_at else '-') }} | {{ a.completed_at.strftime('%d %b %Y %H:%M') if a.completed_at else '-' }} | {{ a.doctor_earning_credited_at.strftime('%d %b %Y %H:%M') if a.doctor_earning_credited_at else 'Reserve' }} |